package org.jash.learnmvp.news;

import org.jash.learnmvp.entity.NewsPageEntity;
import org.jash.learnmvp.mvp.BaseModel;

import io.reactivex.rxjava3.core.Observable;

public class CategoryModel extends BaseModel implements ConStruct.ICategoryModel {
    @Override
    public Observable<NewsPageEntity> getNewsByCategory(int type, int page, int size) {
        return service.getNewsByCategory(type, page, size);
    }
}
